﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ruleweaver.Rules.CheckMethods;

namespace Ruleweaver.Annotation
{
	public sealed class CheckIsGreaterThanAttribute : CheckAttribute
	{
		public CheckIsGreaterThanAttribute(object value)
		{
			Value = value;
		}

		public object Value { get; private set; }

		protected override ICheckMethod GetCheckMethod()
		{
			return new IsGreaterThanMethod(Value);
		}
	}
}